Optimal. Leaf size=124 \[ -\frac {\tan ^{-1}\left (\frac {2\ 2^{3/4}+2 \sqrt [4]{2} \sqrt {2+b x^2}}{2 \sqrt {b} x \sqrt [4]{2+b x^2}}\right )}{\sqrt [4]{2} b^{3/2}}+\frac {\tanh ^{-1}\left (\frac {2\ 2^{3/4}-2 \sqrt [4]{2} \sqrt {2+b x^2}}{2 \sqrt {b} x \sqrt [4]{2+b x^2}}\right )}{\sqrt [4]{2} b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 124, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {452}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {2\ 2^{3/4}-2 \sqrt [4]{2} \sqrt {b x^2+2}}{2 \sqrt {b} x \sqrt [4]{b x^2+2}}\right )}{\sqrt [4]{2} b^{3/2}}-\frac {\text {ArcTan}\left (\frac {2 \sqrt [4]{2} \sqrt {b x^2+2}+2\ 2^{3/4}}{2 \sqrt {b} x \sqrt [4]{b x^2+2}}\right )}{\sqrt [4]{2} b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 452
Rubi steps
\begin {align*} \int \frac {x^2}{\left (2+b x^2\right )^{3/4} \left (4+b x^2\right )} \, dx &=-\frac {\tan ^{-1}\left (\frac {2\ 2^{3/4}+2 \sqrt [4]{2} \sqrt {2+b x^2}}{2 \sqrt {b} x \sqrt [4]{2+b x^2}}\right )}{\sqrt [4]{2} b^{3/2}}+\frac {\tanh ^{-1}\left (\frac {2\ 2^{3/4}-2 \sqrt [4]{2} \sqrt {2+b x^2}}{2 \sqrt {b} x \sqrt [4]{2+b x^2}}\right )}{\sqrt [4]{2} b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 2.10, size = 112, normalized size = 0.90 \begin {gather*} -\frac {\tan ^{-1}\left (\frac {-2^{3/4} b x^2+4 \sqrt [4]{2} \sqrt {2+b x^2}}{4 \sqrt {b} x \sqrt [4]{2+b x^2}}\right )+\tanh ^{-1}\left (\frac {2 \sqrt {b} x \sqrt [4]{4+2 b x^2}}{b x^2+2 \sqrt {4+2 b x^2}}\right )}{2 \sqrt [4]{2} b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\left (b \,x^{2}+2\right )^{\frac {3}{4}} \left (b \,x^{2}+4\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 393 vs.
\(2 (86) = 172\).
time = 0.91, size = 393, normalized size = 3.17 \begin {gather*} \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} \frac {1}{b^{6}}^{\frac {1}{4}} \arctan \left (\frac {8 \, \sqrt {2} \sqrt {\frac {1}{2}} \left (\frac {1}{8}\right )^{\frac {3}{4}} b^{4} \sqrt {\frac {\sqrt {\frac {1}{2}} b^{4} \sqrt {\frac {1}{b^{6}}} x^{2} + 2 \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} {\left (b x^{2} + 2\right )}^{\frac {1}{4}} b^{2} \frac {1}{b^{6}}^{\frac {1}{4}} x + 2 \, \sqrt {b x^{2} + 2}}{x^{2}}} \frac {1}{b^{6}}^{\frac {3}{4}} x - 8 \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {3}{4}} {\left (b x^{2} + 2\right )}^{\frac {1}{4}} b^{4} \frac {1}{b^{6}}^{\frac {3}{4}} - x}{x}\right ) + \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} \frac {1}{b^{6}}^{\frac {1}{4}} \arctan \left (\frac {8 \, \sqrt {2} \sqrt {\frac {1}{2}} \left (\frac {1}{8}\right )^{\frac {3}{4}} b^{4} x \sqrt {\frac {\sqrt {\frac {1}{2}} b^{4} \sqrt {\frac {1}{b^{6}}} x^{2} - 2 \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} {\left (b x^{2} + 2\right )}^{\frac {1}{4}} b^{2} \frac {1}{b^{6}}^{\frac {1}{4}} x + 2 \, \sqrt {b x^{2} + 2}}{x^{2}}} \frac {1}{b^{6}}^{\frac {3}{4}} - 8 \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {3}{4}} {\left (b x^{2} + 2\right )}^{\frac {1}{4}} b^{4} \frac {1}{b^{6}}^{\frac {3}{4}} + x}{x}\right ) - \frac {1}{4} \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} \frac {1}{b^{6}}^{\frac {1}{4}} \log \left (\frac {\sqrt {\frac {1}{2}} b^{4} \sqrt {\frac {1}{b^{6}}} x^{2} + 2 \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} {\left (b x^{2} + 2\right )}^{\frac {1}{4}} b^{2} \frac {1}{b^{6}}^{\frac {1}{4}} x + 2 \, \sqrt {b x^{2} + 2}}{2 \, x^{2}}\right ) + \frac {1}{4} \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} \frac {1}{b^{6}}^{\frac {1}{4}} \log \left (\frac {\sqrt {\frac {1}{2}} b^{4} \sqrt {\frac {1}{b^{6}}} x^{2} - 2 \, \sqrt {2} \left (\frac {1}{8}\right )^{\frac {1}{4}} {\left (b x^{2} + 2\right )}^{\frac {1}{4}} b^{2} \frac {1}{b^{6}}^{\frac {1}{4}} x + 2 \, \sqrt {b x^{2} + 2}}{2 \, x^{2}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (b x^{2} + 2\right )^{\frac {3}{4}} \left (b x^{2} + 4\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{{\left (b\,x^2+2\right )}^{3/4}\,\left (b\,x^2+4\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________